/**
 * MaterialsItem
 */

 import consts from "../../../../../consts/consts";
 import React,{Component}from "react";

 class MaterialsItem extends Component{
    handleOnOpenDialog(){
//        var root = this.props.root;
//        var data = this.props.data;
//        root.openDialog(consts.WIDGET_TYPE.CHANGE_MATERIALS, false, data, true);
        console.log("open dialog");
    }
    render(){
        return (
            <button onClick={() => this.handleOnOpenDialog()}>{$._('Change model map')}</button>
        )
    }
 }

 module.exports = MaterialsItem;
